SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{144deb03f46f28d759561e39d9031594668bd46faee7d8c4f96ab0b252bf886c}Walldorf{144deb03f46f28d759561e39d9031594668bd46faee7d8c4f96ab0b252bf886c}' OR prCity = 'Walldorf' OR prZip = 'Walldorf' OR prStreet LIKE '{144deb03f46f28d759561e39d9031594668bd46faee7d8c4f96ab0b252bf886c}Walldorf{144deb03f46f28d759561e39d9031594668bd46faee7d8c4f96ab0b252bf886c}' OR prCountry = 'Walldorf') AND (prLocation LIKE '{144deb03f46f28d759561e39d9031594668bd46faee7d8c4f96ab0b252bf886c}Germany{144deb03f46f28d759561e39d9031594668bd46faee7d8c4f96ab0b252bf886c}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{144deb03f46f28d759561e39d9031594668bd46faee7d8c4f96ab0b252bf886c}Germany{144deb03f46f28d759561e39d9031594668bd46faee7d8c4f96ab0b252bf886c}' OR prCountry = 'Germany')